package com.songcha.module_login

import android.app.Application
import android.content.Context
import com.alibaba.android.arouter.facade.annotation.Route
import com.songcha.library_business.LibraryBusinessApplication
import com.songcha.library_business.provider.IApplicationInitProvider
import com.songcha.library_common.BuildConfig
import com.songcha.library_common.LibraryCommon


class ModuleLoginApplication : Application(),IApplicationInitProvider {
    companion object{
        lateinit var mContext:Context

        @JvmStatic
        fun init(application:Application){
            mContext=application
        }
    }

    override fun onCreate() {
        super.onCreate()
        mContext=this
        //LibraryCommon.init(this, BuildConfig.DEBUG)
        LibraryBusinessApplication.init(this)
    }

    override fun initApplication(application: Application) {
        //init(application)
        ModuleLoginApplication.init(application)
    }

    override fun init(context: Context?) {

    }


}